home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
010
/
gomoku.arc
/
GOMOKU.DOC
next >
Wrap
Text File
|
1982-12-02
|
2KB
|
41 lines
DESCRIPTION:
GOMOKU is a game similar to tic-tac-toe but played on a 20 x 20 board.
The object of the game is to place five marks in a row (instead of
three). It requires a monochrome adapter and 64K of memory.
OPERATION:
Insert the diskette into the default drive and type GOMOKU. This
should start the game.
RULES:
Either you or the computer can go first. (It's easier to win if you go
first, but it'll still be tough going.) You alternate taking turns.
Each turn consists of moving the cursor to the location that you want
to place your mark, and then pressing ENTER. In addition to the
standard cursor moves (up, down, left, right), you can also move the
cursor diagonally - HOME will move the cursor up and left, PGUP will
move the cursor up and right, END will move the cursor down and left,
and PGDN will move the cursor down and right. After you make your
move, the computer then selects its move. This continues until neither
player can move (a draw) or one player gets five marks in a row. You
can press DEL if you want to start over, and you can press ESC if you
want to end the program.
OTHER NOTES:
The computer does not play a "perfect" game. That is, although it is
very hard to beat the computer, it uses a formula to compute a very
good (although not necessarily the best) move, and if you play enough,
you can beat the program. This program is "borrowed" from the
Hewlett-Packard Users' Group Contributed Library for the 3000 series
computer, and was originally written in BASIC by Jobst Brandt. I just
did a translation from HP-BASIC to Pascal, so some of the variable
names may be nebulous. If you do translate it back to BASIC, be sure
you compile it. It is a very slow program if run interpretively. As a
strategy, when you first start playing, play in the center, since it
leaves you with more options. I'd tell you more, but it'd ruin your
fun of trying to discover the technique of winning.